interface ISettings {
    title: string;
    showSettings: boolean;
    showTagsView: boolean;
    fixedHeader: boolean;
    showSidebarLogo: boolean;
    errorLog: string;
    pageSize: number;
}
const Bill_Page_Record_Quantity: string | null = localStorage.getItem('Bill_Page_Record_Quantity');
const globalConfig: ISettings = {
    pageSize: Number(Bill_Page_Record_Quantity) || 2,
    title: 'RBP系统',
    /**
     * @type {boolean} true | false
     * @description Whether show the settings right-panel
     */
    showSettings: true,

    /**
     * @type {boolean} true | false
     * @description Whether need tagsView
     */
    showTagsView: true,

    /**
     * @type {boolean} true | false
     * @description Whether fix the header
     */
    fixedHeader: false,

    /**
     * @type {boolean} true | false
     * @description Whether show the logo in sidebar
     */
    showSidebarLogo: true,

    /**
     * @type {string | array} 'production' | ['production', 'development']
     * @description Need show err logs component.
     * The default is only used in the production env
     * If you want to also use it in dev, you can pass ['production', 'development']
     */
    errorLog: 'development'
};
export default globalConfig;
